﻿using System;
using System.Collections.Generic;
using System.Text;

using Warehouse.Common.Entities;

namespace Warehouse.DataAccess
{
    public interface IUserDA
    {
        User Create();
        int Add(User toAdd, out int newID);
        int Update(User toUpdate);
        int DeleteByID(int id);
        User GetByID(int id);
        User GetByCode(string userCode);
        IEnumerable<User> Get(string condition);
    }
}
